<div class="main">
    <div class="main-nav fl">
        <ul class="nave nav-tabs container">
            <li><a href="/task/tbtask">任务大厅</a></li>
            <li><a href="smission.html">我的任务</a></li>
            <?php if($user->user_identity==1){ ?>
                <li><a href="/task/bindtb">绑定买号</a></li>
            <?php }elseif($user->user_identity==2){ ?>
                <li class="active"><a href="/task/bindtb">绑定店铺</a></li>
                <li><a href="/task/tasktemplate">发布任务</a></li>
            <?php } ?>
        </ul>
    </div>
    <div class="order-wrap container hid">
        <ul class="nave nav-tabs order-nav">
            <li class="active"><a href="javascript:void(0)">淘宝店铺</a></li>
            <li class=""><a href="/task/bindjd">京东店铺</a></li>
            <li class=""><a href="/task/bindrest">其他店铺</a></li>
            <li class=""><a href="/task/shoplist">店铺列表</a></li>
        </ul>
        <div class="tab-content fl">
            <form class="form-horizontal cf add-store-form fl" action="" method="post">
                <input name="storeVerify" id="storeVerify" value="<?php echo $randNum; ?>" type="hidden">
                <label class="control-label col-2x fl" for="storeLink">商品链接</label>
                <input class="form-control input-large fl" name="storeLink" type="text">
                <div class="col-4x submit fl">
                    <input class="btn btn-block btn-mid btn-orange "  value="确认无误，提交" type="submit" />
                </div>
            </form>
            <div class="process  fl">
                <h3>绑定步骤（<b class="orange">如绑定不上请添加QQ:2759972960协助绑定</b>）</h3>
                <dl class="cf fl">
                    <dt>第一步:</dt><dd>进入店铺后台任意选取一款商品，点击右侧的<span class="orange">“编辑宝贝”</span></dd>
                </dl>
                <dl class="cf fl">
                    <dt>第二步:</dt>
                    <dd>
                        复制验证码粘贴到<span class="orange">“宝贝标题”</span>的末尾   （验证码：<span class="orange"><?php echo $randNum; ?> </span><span id="copy" class="btn btn-tag copy">点击复制</span>）
                    </dd>
                </dl>
                <dl class="cf fl">
                    <dt>第三步:</dt><dd>查看商品标题,确认验证码是否完整后，复制商品链接将其粘贴到页面上方的输入框中</dd>
                </dl>
                <dl class="cf fl">
                    <dt>第四步:</dt><dd>绑定成功后可将商品标题中的验证码去除，改回原来的标题！</dd>
                </dl>
                <dl class="cf fl">
                    <dt>温馨提示:</dt><dd>绑定过程中如遇到困难，可以点击页面右侧的悬浮窗口求助客服帮助！</dd>
                </dl>
                <h3 class="fl">参考图例</h3>
                <div class="bind-tmpl fl "><div class="store-verify">T5QDJ</div></div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="/static/js/jquery.zclip.min.js"></script>
<script type="text/javascript">
    $("span#copy").zclip({
        path:"/static/js/ZeroClipboard.swf",
        copy:function(){
            return $("input#storeVerify").val();
        },
        afterCopy:function(){
            alert("复制成功");
        }
    });
</script>